let json = {
  type: 'rect',
  w: 240,
  css: {
    background: 'red'
  },
  position: [0, 0],
  childs: [
    {
      type: 'rect',
      mode: 1,
      w: 10,
      h: 10,
      position: [0, 0],
      css: {
        background: 'blue'
      }
    },
    {
      type: 'rect',
      w: 10,
      h: 10,
      position: [30, 30],
      mode: 1,
      css: {
        background: 'green'
      }
    },
    {
      type: 'rect',
      w: 30,
      h: 30,
      mode: 0,
      position: [100, 30],
      css: {
        background: 'grey'
      }
    },
    {
      type: 'rect',
      w: 100,
      mode: 1,
      position: [100, 50], //position的问题
      css: {
        background: 'yellow'
      },
      childs: [
        {
          type: 'rect',
          w: 10,
          h: 10,
          mode: 1,
          position: [10, 10],
          css: {
            background: 'red'
          }
        },
        {
          type: 'rect',
          w: 10,
          h: 10,
          mode: 1,
          position: [10, 10],
          css: {
            background: 'green'
          }
        }
      ]
    },
    {
      type: 'rect',
      w: 100,
      h: 30,
      mode: 1,
      //position : [20,50]
      css: {
        background: 'rgb(29 29 229)'
      }
    },
    {
      type: 'rect',
      w: 100,
      mode: 1,
      row: 1,
      //position : [20,50]
      css: {
        background: '#fff'
      },
      childs: [
        {
          type: 'rect',
          w: 100,
          h: 100,
          mode: 1,
          //position : [20,50]
          css: {
            background: '#fff'
          }
        },
        {
          type: 'text',
          w: 100,
          h: 100,
          position: [120, 50],
          mode: 0,
          css: {
            text: '车车车车车车车车车道上道上道上道上道上道上道上道上道上',
            font: 'bold 16px Arial',
            blur: 0.5
          }
        }
      ]
    }
  ]
}
